package etnorservice.etnor_service.service.impl;

import etnorservice.etnor_service.domain.po.SystemLog;
import etnorservice.etnor_service.domain.po.UpdateLog;
import etnorservice.etnor_service.mapper.LogMapper;
import etnorservice.etnor_service.request.SearchLogRequest;
import etnorservice.etnor_service.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: cc
 * @Date: 2024/08/23/8:30
 **/
@Service
public class LogServiceImpl implements LogService {
    @Autowired
    LogMapper logMapper;
    @Override
    public List<SystemLog> findLog(SearchLogRequest searchLogRequest) {
        return logMapper.findLogs(searchLogRequest);
    }

    @Override
    public List<UpdateLog> findUpdateLogs() {
        return logMapper.findUpdateLogs();
    }
}
